<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/loginredirect.jsp"%>
<head>
    <title><fmt:message key="workPosition.title"/></title>
    <meta name="heading" content="<fmt:message key='workPosition.workPosition'/>"/>
    <meta name="menu" content="WorkPositionMenu"/>
</head>


<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/workpositionsearchformprijava"/>'" value="<fmt:message key="button.prijava"/>"/>
<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/workpositionsearchformodjava"/>'" value="<fmt:message key="button.odjava"/>"/>
<input type="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<display:table name="workPositionList" class="table" requestURI="" id="workPositionList" export="false" pagesize="25">
    <display:column property="id" sortable="true" href="workpositionform" media="html"
        paramId="id" paramProperty="id" titleKey="field.id"/>
    <display:column property="institution.institutionName" sortable="true" titleKey="workPosition.institutionName"/>
    <display:column property="employment.firstName" sortable="true" titleKey="workPosition.firstName"/>
     <display:column property="employment.lastName" sortable="true" titleKey="workPosition.lastName"/>
      <display:column property="employment.socScrNo" sortable="true" titleKey="workPosition.socScrNo"/>
    <display:column property="discriminator" sortable="true" titleKey="workPosition.discriminator"/>
    <display:column property="position" sortable="true" titleKey="workPosition.position"/>
    <display:column property="trialPeriod" sortable="true" titleKey="workPosition.trialPeriod"/>
    <display:column property="posType.posTypeName" sortable="true" titleKey="workPosition.posType"/>
    <display:column property="startDate" sortable="true" titleKey="workPosition.startDate"/>
    <display:column property="endDate" sortable="true" titleKey="workPosition.endDate"/>
    <display:column property="emplReason.name" sortable="true" titleKey="workPosition.employmentReason"/>
    <display:column property="leaveReason.name" sortable="true" titleKey="workPosition.leaveReason"/>
    <display:column property="experience" sortable="true" titleKey="workPosition.experience"/>
    
       <display:setProperty name="paging.banner.item_name"><fmt:message key="workPosition.workPosition"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="workPosition.workPosition"/></display:setProperty>

    <display:setProperty name="export.excel.filename"><fmt:message key="workPosition.title"/>.xls</display:setProperty>
    <display:setProperty name="export.csv.filename"><fmt:message key="workPosition.title"/>.csv</display:setProperty>
    <display:setProperty name="export.pdf.filename"><fmt:message key="workPosition.title"/>.pdf</display:setProperty>
</display:table>

<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/workpositionsearchformprijava"/>'" value="<fmt:message key="button.prijava"/>"/>
<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/workpositionsearchformodjava"/>'" value="<fmt:message key="button.odjava"/>"/>
<input type="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>
<script type="text/javascript">
    highlightTableRows("workPositionList");
</script> 
